package com.ys.controller.web.sys;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/web/admin/demo")
public class WebInterTempletController {
	
	/**
	 * 列表页
	 */
	@GetMapping("/list")
	public String list(Model model){
		return "demo/list";
	}
	
	/**
	 * 新增页
	 */
	@GetMapping("/add")
	public String add(Model model){
		return "demo/add";
	}
}
